package com.aiwiown.face.domain.facialfeatures;

import com.aiwiown.face.ApiObject;
import com.aiwiown.face.internal.mapping.ApiField;

import java.math.BigDecimal;

/**
 * @ClassName : Part
 * @Description :
 * @Author : dbin0123
 * @Date: 2020-05-23 11:04
 */
public class Part extends ApiObject {
    private static final long serialVersionUID = 8681034639457303624L;

    /**
     * 上庭长度（若为0或无法判断，则返回null）
     */
    @ApiField("faceup_length")
    private BigDecimal faceupLength;
    /**
     * 上庭占比（若为0或无法判断，则返回null）
     */
    @ApiField("faceup_ratio")
    private BigDecimal faceupRatio;
    /**
     * 上庭判断结果（若为0或无法判断，则返回null）
     */
    @ApiField("faceup_result")
    private String faceupResult;

    public BigDecimal getFaceupLength() {
        return faceupLength;
    }

    public void setFaceupLength(BigDecimal faceupLength) {
        this.faceupLength = faceupLength;
    }

    public BigDecimal getFaceupRatio() {
        return faceupRatio;
    }

    public void setFaceupRatio(BigDecimal faceupRatio) {
        this.faceupRatio = faceupRatio;
    }

    public String getFaceupResult() {
        return faceupResult;
    }

    public void setFaceupResult(String faceupResult) {
        this.faceupResult = faceupResult;
    }
}
